package com.baishui.service;

import com.baishui.service.entity.Car;
import com.baishui.service.entity.House;

/**
 * @Description: 测试
 * @Author: baishui
 * @Create: 2020-08-24 21:08
 **/
public class BaishuiV3Service {

    private Car car;
    private House  house;
    private int version;

    public BaishuiV3Service(Car car, House house){
        this.car = car;
        this.house = house;
        this.version = -1;
    }
    public BaishuiV3Service(Car car, House house,int version){
        this.car = car;
        this.house = house;
        this.version = version;
    }

    public Car getCar() {
        return car;
    }

    public void setCar(Car car) {
        this.car = car;
    }

    public House getHouse() {
        return house;
    }

    public void setHouse(House house) {
        this.house = house;
    }

    public int getVersion() {
        return version;
    }

    public void setVersion(int version) {
        this.version = version;
    }
}
